package com.mrx.pvzcommunity;

import com.mrx.pvzcommunity.config.APIProperties;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

@SpringBootApplication
@EnableConfigurationProperties(value = {APIProperties.class})
@MapperScan("com.mrx.pvzcommunity.dao")
public class PvzCommunityApplication {

    public static void main(String[] args) {
        SpringApplication.run(PvzCommunityApplication.class, args);
    }
}
